# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit kde
need-kde 3

MY_P=${P/3D/3d}
MY_DLP=${MY_P}-leakfix
S=${WORKDIR}/${MY_P}

DESCRIPTION="A colored Fireworks KDE screensaver in 3D using OpenGL"
SRC_URI="http://robotics.dei.unipd.it/~koral/CODE/${MY_DLP}.tar.bz2"
HOMEPAGE="http://robotics.dei.unipd.it/~koral/CODE"

LICENSE="GPL-2"
KEYWORDS="~x86"

SLOT="$KDEMAJORVER.$KDEMINORVER"

src_compile()
{
	./configure --prefix=$KDEDIR
	emake
}

src_install()
{
	insinto ${KDEDIR}/share/applnk/System/ScreenSavers
	doins kfiresaver3d/kfiresaver3D.desktop
	
	einstall
}
